package com.webamc.manager;

import com.webamc.model.User;

import java.util.List;
import java.util.Map;

/**
 * Created by Prash.
 * User: Choti
 * Date: Mar 14, 2009
 * Time: 2:27:45 AM
 * To change this template use File | Settings | File Templates.
 */
public interface IUserHandler {

    //Read
    User view(int id);

    List<User> search(Map<String, String[]> m);

    List<User> browse();

    //Write
    User update(Map<String, String[]> m, int userId);

    User create(Map<String, String[]> m, int userId);

    List<User> search(User u);

    User create();
}
